var i=1;
do{
    document.write("<h"+i+">h"+i+"</h"+i+">");
    i++;
}while(i<=6)